<?php

use admin\models\Category;
use yii\db\Migration;

/**
 * import init data
 */
class m210906_230000_category extends Migration
{

    /**
     * @return bool|void
     */
    public function down()
    {
    }

    /**
     * @return bool|void
     */
    public function up()
    {
        $category = new Category();
        $category->name = 'POWER FACTOR CORRECTION SYSTEMS';
        $category->description = '';
        $category->save();
    }
}
